import axios from '@/libs/request/axios'
import QS from 'qs';
//获取界面数据
export const getDistributePageInfo = (applyNo) => {
    return axios.request({
        url: '/apply/gps/page/info',
        data: QS.stringify({applyNo:applyNo},{arrayFormat: 'repeat'}),
        method: 'post',
        headers: { 'content-type': 'application/x-www-form-urlencoded' },
    })
}
//派单按钮
export const distribute = (params) => {
    return axios.request({
        url: '/apply/gps/distribute',
        method: 'post',
        data: params
    })
}
//获取工单信息
export const getAllOrderInfoByAppCode = (params) => {
    return axios.request({
        url: '/apply/gps/getAllOrderInfoByAppCode',
        method: 'post',
        data: params
    })
}
//获取工单信息
export const gpsInfoSubmitInfo = (params) => {
    return axios.request({
        url: '/apply/loan/gpsInfoSubmitInfo',
        method: 'post',
        data: params
    })
}
